package com.payment.entity.pojo.response.subResponse.common;

import lombok.Getter;
import lombok.Setter;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import java.io.Serializable;

@Setter
@Getter
@XmlAccessorType(XmlAccessType.FIELD)
@XmlRootElement(name="package_order")
public class QueryDeviceRealTimePackageOrder implements Serializable {

    @XmlElement(name="order_code")
    private String orderCode;

    @XmlElement(name="package_name")
    private String packageName;

    @XmlElement(name="package_code")
    private String packageCode;

    @XmlElement(name="package_type")
    private String packageType;

    @XmlElement(name="buy_type")
    private String buyType;

    @XmlElement(name="order_period")
    private String orderPeriod;

    @XmlElement(name="flow")
    private String flow;

    @XmlElement(name="used_flow")
    private String usedFlow;

    @XmlElement(name="flow_use_rate")
    private String flowUseRate;

    @XmlElement(name="order_used_flow")
    private String orderUsedFlow;

    @XmlElement(name="order_date")
    private String orderDate;

    @XmlElement(name="active_date")
    private String activeDate;

    @XmlElement(name="expire_date")
    private String expireDate;

    @XmlElement(name="is_order_refueling_package" ,required=false)
    private String isOrderRefuelingPackage;

    @XmlElement(name="refueling_package")
    private RefuelingPackageList refuelingPackage;
}
